package com.bestdreamer.thread_volatile;

public class Demo2Run {

    public static void main(String[] args) {
        Demo2MyThread[] myThreadsArray = new Demo2MyThread[100];
        for(int i = 0; i <100; i++){
            myThreadsArray[i] = new Demo2MyThread();
        }

        for( int i = 0; i <100; i++){
            myThreadsArray[i].start();
        }
    }
}
